import { ecs } from "./core/ecs/ECS";
import { CommonUtil } from "./module/common/CommonUtil";
import { dev } from "./module/config/Config";
import { HallService, HallServiceRootSystem } from "./service/hall/HallService";



/** 网关服务器对象 */
export var hs: HallService = null!

function main() {
    dev();

    CommonUtil.init(new HallServiceRootSystem());

    hs = ecs.getEntity<HallService>(HallService);
    hs.start()
}

main();